//
//  PhotoCollectionViewCell.m
//  卢卡的时光网
//
//  Created by 卡神 on 15/7/23.
//  Copyright © 2015年 lok. All rights reserved.
//

#import "PhotoCollectionViewCell.h"


@implementation PhotoCollectionViewCell

- (nonnull instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        _photoScrollView = [[PhotoScrollView alloc] initWithFrame:self.bounds];
        [self.contentView addSubview:_photoScrollView];
    }
    return self;
}

- (void)setImageUrl:(NSString *)imageUrl {
    _imageUrl = imageUrl;
    _photoScrollView.imageUrl = _imageUrl;
}



@end
